/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.pucp.Simulacion.Vista;

import java.awt.event.ActionListener;
import java.awt.event.KeyListener;
import java.awt.event.MouseListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.JTable;
import javax.swing.event.TableModelListener;
import javax.swing.table.DefaultTableModel;
import pe.edu.pucp.Modelo.Aeropuerto;
import pe.edu.pucp.Modelo.Permiso;
import pe.edu.pucp.Modelo.Usuario;
import pe.edu.pucp.Modelo.Vuelo;
import pe.edu.pucp.Simulacion.Interfaz.NecesidadesVuelos;
import pe.edu.pucp.Util.Constante;
import pe.edu.pucp.Util.MapaHelper.JMapViewer.JMapViewer;


/**
 *
 * @author katy
 */
public class SimulacionGUI extends javax.swing.JDialog {
    private JMapViewer mapa = null;
    private TablaVuelos newContentPane = null;
    private Usuario user;
    private ArrayList<Vuelo> lstVuelos;
    private JFrame padre;
    /**
     * Creates new form SimulacionGUI
     */
    public SimulacionGUI(java.awt.Frame parent, boolean modal, Usuario usr, ArrayList<Vuelo> listaVuelo) {
        super(parent, modal);
        initComponents();
        setLocationRelativeTo(null);
        padre = (JFrame)parent;
        user = usr;
        lstVuelos = listaVuelo;
        mapa = new JMapViewer();
        mapa.setSize(900, 370); 
        mapa.setTileGridVisible(true); 
        pnMapa.setSize(900, 370);
        pnMapa.add(mapa);
        pnMapa.setOpaque(true); 
        pnMapa.setVisible(true);
        jScrollPane3.add(pnMapa);
        add(jScrollPane3);
         
        //Tabla de vuelos
        newContentPane = new TablaVuelos(lstVuelos);
        newContentPane.setSize(460,200);
        newContentPane.setVisible(true);

        pntabla.add(newContentPane);
        pntabla.setVisible(true);

    }

    public JFrame getPadre() {
        return padre;
    }
      
    public ArrayList<Vuelo> getLstVuelos() {
        return newContentPane.getLstVuelos();
    }
    
    public NecesidadesVuelos getTblVuelosNecesidades() {
        return newContentPane.getNecesidadesVuelos();
    }
    
    public void setDisplayPositionByLatLon(Double lat, Double lon) {
        this.mapa.setDisplayPositionByLatLon(lat, lon, 3);
    }
    
    public void setDatosLeyenda(double satAeropuertos, double satVuelos, int sizeAeropuertos, int sizeVuelos) {
      this.lblSaturacionAeropuertos.setText(String.valueOf(satAeropuertos) + " :");
      this.lblSaturacionVuelos.setText(String.valueOf(satVuelos) + ":");
      this.lblNumAeropuertos.setText(String.valueOf(sizeAeropuertos));
      this.lblNumVuelos.setText(String.valueOf(sizeVuelos));
    }
    public void addCancelarBtnListener(ActionListener l) {
        this.btnCancelar.addActionListener(l);
    }
    
    public void addTableListener(MouseListener l) {
        this.tblAeropuertos.addMouseListener(l);
    }
    
    public void addTablaVuelosListenert(MouseListener listener) {
        this.newContentPane.getTablaVuelos().addMouseListener(listener);
    }
    
    public void addMostrarPdfListener(ActionListener listener) {
        this.btnGenerarPdf.addActionListener(listener);
    }
    
    public JMapViewer getMapa() {
        return mapa;
    }
    
    public JTable getTblAeroppuertos() {
        return this.tblAeropuertos;
    }

    public int getSelectedAeropuerto() {
        return this.tblAeropuertos.getSelectedRow();
    }


    public void mostrarPermisos(ArrayList<Permiso> list){            
        if (!list.isEmpty()){                                
            btnSimulacion.setEnabled(buscarPermiso(list,Constante.P_SIM_SIM_SIMULAR)==1); 
        }
    }   
  
    public int buscarPermiso(ArrayList<Permiso> list, int idel){
        int per=-1;
        for (Permiso c : list){
            if (c.getElemento().getIdelemento()==idel){ per =c.getPermiso(); }
        }
        return per;
    }     
      
    public void llenaAeropuertos(ArrayList<Aeropuerto> lst) {
        ArrayList<Aeropuerto> lista = lst;
        if(lista!=null)
        { 
            ((DefaultTableModel) this.tblAeropuertos.getModel()).setRowCount(0);
            for (int f = 0; f<lista.size();f++)
            {
                ((DefaultTableModel) tblAeropuertos.getModel()).setRowCount(tblAeropuertos.getRowCount()+1);
               
                tblAeropuertos.setValueAt(lista.get(f).getCiudad().getDescripcion(),f,0);
                tblAeropuertos.setValueAt(lista.get(f).getCappack(),f,1);
                tblAeropuertos.setValueAt(0,f,2);
             }
        }
    }
    
    public void setTblAeropuertoListener(TableModelListener listener) {
        tblAeropuertos.getModel().addTableModelListener(listener);
    }
    
    public void addAeropuertosTblListener( MouseListener listener) {
        this.tblAeropuertos.addMouseListener(listener);
    }
    
    public void addSimulacionBtnListener(ActionListener listener) {
        this.btnSimulacion.addActionListener(listener);
    }
    
    public void addTableKeyListener(KeyListener listener) {
        this.tblAeropuertos.addKeyListener(listener);
    }
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        btnSimulacion = new javax.swing.JButton();
        btnCancelar = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jScrollPane4 = new javax.swing.JScrollPane();
        tblAeropuertos = new javax.swing.JTable();
        pntabla = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jPanel3 = new javax.swing.JPanel();
        jPanel5 = new javax.swing.JPanel();
        jPanel4 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        lblNumAeropuertos = new javax.swing.JLabel();
        lblNumVuelos = new javax.swing.JLabel();
        lblSaturacionAeropuertos = new javax.swing.JLabel();
        lblSaturacionVuelos = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        pnMapa = new javax.swing.JPanel();
        btnGenerarPdf = new javax.swing.JButton();

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(jTable1);

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        btnSimulacion.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/checkmark.png"))); // NOI18N

        btnCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/delete.png"))); // NOI18N

        jPanel1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel1.setPreferredSize(new java.awt.Dimension(901, 300));

        tblAeropuertos.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "AEROPUERTO", "CAPACIDAD", "AMPLIACION"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Integer.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, true
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane4.setViewportView(tblAeropuertos);

        pntabla.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        pntabla.setPreferredSize(new java.awt.Dimension(300, 225));

        javax.swing.GroupLayout pntablaLayout = new javax.swing.GroupLayout(pntabla);
        pntabla.setLayout(pntablaLayout);
        pntablaLayout.setHorizontalGroup(
            pntablaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
        );
        pntablaLayout.setVerticalGroup(
            pntablaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 198, Short.MAX_VALUE)
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jPanel3.setBackground(new java.awt.Color(244, 12, 29));

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 19, Short.MAX_VALUE)
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 16, Short.MAX_VALUE)
        );

        jPanel5.setBackground(new java.awt.Color(23, 184, 45));
        jPanel5.setPreferredSize(new java.awt.Dimension(19, 16));

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 19, Short.MAX_VALUE)
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 16, Short.MAX_VALUE)
        );

        jPanel4.setBackground(new java.awt.Color(236, 233, 23));
        jPanel4.setPreferredSize(new java.awt.Dimension(19, 16));

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 19, Short.MAX_VALUE)
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 16, Short.MAX_VALUE)
        );

        jLabel1.setText("Aeropuertos saturados");

        jLabel2.setText("Aeropuertos bajo nivel de saturación");

        jLabel3.setText("Vuelos saturados");

        jLabel4.setFont(new java.awt.Font("Ubuntu", 1, 15)); // NOI18N
        jLabel4.setText("Leyenda :");

        jLabel5.setFont(new java.awt.Font("Ubuntu", 1, 15)); // NOI18N
        jLabel5.setText("Aeropuertos saturados al ");

        jLabel6.setFont(new java.awt.Font("Ubuntu", 1, 15)); // NOI18N
        jLabel6.setText("Vuelos saturados al ");

        lblNumAeropuertos.setText("0");

        lblNumVuelos.setText("0");

        lblSaturacionAeropuertos.setFont(new java.awt.Font("Ubuntu", 2, 15)); // NOI18N
        lblSaturacionAeropuertos.setText(" x:");

        lblSaturacionVuelos.setFont(new java.awt.Font("Ubuntu", 2, 15)); // NOI18N
        lblSaturacionVuelos.setText(" x:");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel1))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jLabel5)
                                .addGap(5, 5, 5)
                                .addComponent(lblSaturacionAeropuertos)))
                        .addGap(52, 52, 52)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblNumAeropuertos, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel2)))
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jLabel6)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(lblSaturacionVuelos)
                                .addGap(45, 45, 45)
                                .addComponent(lblNumVuelos, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addGap(132, 132, 132)
                                .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel3)))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jLabel6)
                    .addComponent(lblNumAeropuertos)
                    .addComponent(lblNumVuelos)
                    .addComponent(lblSaturacionAeropuertos)
                    .addComponent(lblSaturacionVuelos))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel2))
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLabel3)
                        .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLabel1)
                        .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(6, 6, 6)
                .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 403, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(pntabla, javax.swing.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)
                .addContainerGap())
            .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addComponent(pntabla, javax.swing.GroupLayout.DEFAULT_SIZE, 202, Short.MAX_VALUE)))
        );

        jScrollPane3.setMaximumSize(new java.awt.Dimension(900, 400));
        jScrollPane3.setMinimumSize(new java.awt.Dimension(900, 400));
        jScrollPane3.setName(""); // NOI18N
        jScrollPane3.setPreferredSize(new java.awt.Dimension(900, 370));

        pnMapa.setMaximumSize(new java.awt.Dimension(900, 370));
        pnMapa.setMinimumSize(new java.awt.Dimension(900, 370));
        pnMapa.setPreferredSize(new java.awt.Dimension(900, 370));

        javax.swing.GroupLayout pnMapaLayout = new javax.swing.GroupLayout(pnMapa);
        pnMapa.setLayout(pnMapaLayout);
        pnMapaLayout.setHorizontalGroup(
            pnMapaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 900, Short.MAX_VALUE)
        );
        pnMapaLayout.setVerticalGroup(
            pnMapaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 370, Short.MAX_VALUE)
        );

        jScrollPane3.setViewportView(pnMapa);

        btnGenerarPdf.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/address_book.png"))); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 1, Short.MAX_VALUE))
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btnGenerarPdf)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnSimulacion)
                .addGap(12, 12, 12)
                .addComponent(btnCancelar)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnSimulacion)
                    .addComponent(btnCancelar)
                    .addComponent(btnGenerarPdf))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnGenerarPdf;
    private javax.swing.JButton btnSimulacion;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JTable jTable1;
    private javax.swing.JLabel lblNumAeropuertos;
    private javax.swing.JLabel lblNumVuelos;
    private javax.swing.JLabel lblSaturacionAeropuertos;
    private javax.swing.JLabel lblSaturacionVuelos;
    private javax.swing.JPanel pnMapa;
    private javax.swing.JPanel pntabla;
    private javax.swing.JTable tblAeropuertos;
    // End of variables declaration//GEN-END:variables

 
}
